home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Toolbox
/
Visual Basic Toolbox (P.I.E.)(1996).ISO
/
datetime
/
fasttime
/
readme.txt
< prev
next >
Wrap
Text File
|
1995-11-20
|
907b
|
12 lines
This DLL can be used to time functions or loops or whatever in your program down to .838 microseconds.
That's less than 1 millionth of a second, that should be fast enough to test most things in your program.
I find this mainly useful for testing graphics functions to find the fastest way of doing something. The DLL
consists of two functions, the first is GetVTDAddress which gets the address of the entry point to the
Virtual Timer Device which is then saved in the DLL, this function has to called first. The next function GetTime,
uses this address to get the system time which has a resolution of .838 microseconds. This function returns a 64
bit number . I 've included a small program to show how to use the DLL, I thought somebody else might find
this useful.
Mark Gradowski 73013,244